PREVIEW: Today, you'll be writing a program that handles errors that are the user's fault!

  • Click Run and respond to the questions by typing into the Console.
  • Try to break the program! What happens when you enter text for when the program wants a number?
  • Click Console to see your landscape. When you're finished click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)